﻿using System.Windows.Controls;
using Microsoft.Expression.Media.Effects;

namespace ZFCNew.Views
{
	/// <summary>
	/// Interaction logic for Thumbnail.xaml
	/// </summary>
	public partial class Thumbnail : UserControl
	{
		public Thumbnail()
		{
			this.InitializeComponent();
			
			// Insert code required on object creation below this point.
		}

        private void Img_MouseEnter(object sender, System.Windows.Input.MouseEventArgs e)
        {
            LayoutRoot.Effect = null;
        }

        private void Img_MouseLeave(object sender, System.Windows.Input.MouseEventArgs e)
        {
            LayoutRoot.Effect = new MonochromeEffect();
        }
	}
}